using System;
using UnityEngine;

namespace XFramework
{
    public enum TaskStatus
    {
        Search,
        Gen,
        Compile,
        Complete
    }

    [Serializable]
    public class CodeGenTask
    {
        public TaskStatus Status;

        public string ScriptsFolder;

        public GameObject GameObject;

        public string BaseName;
        public string ClassName;
        public string Namespace;

        // result
        public string MainCode;
        public string DesignerCode;
    }
}